package com.qiwo.webshow.domain;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * <pre>
 *  @author  chenwenchao
 *  @date 2019-01-02 09:56:41
 * 栏目表
 * </pre>
 * <small> 2019-01-02 09:56:41 | chenwenchao</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("tb_column")
@EqualsAndHashCode(callSuper=true) 
public class ColumnMenuDO extends Model<ColumnMenuDO> implements Serializable {
	@TableId
	private Long id;

    /** 栏目名称 */
    @ApiModelProperty("栏目名称")
    @TableField("name")
    private String name;

    /** 栏目英文名称 */
    @ApiModelProperty("栏目英文名称")
    @TableField("enname")
    private String enname;

    /** 排序 */
    @ApiModelProperty("排序")
    @TableField("sort")
    private Integer sort;

    /** 链接 */
    @ApiModelProperty("链接")
    @TableField("url")
    private String url;

    @ApiModelProperty("是否导航")
    @TableField("isNav")
    private  Integer isNav;

       @Override
        protected Serializable pkVal(){
            return this.id;
        }
}
